package com.terrace.db.system.mapper.entity;

import java.io.Serializable;

import com.terrace.core.utils.validation.annotation.FieldValid;

/**
 * 图标信息
 * @author jiangyg
 *
 */
public class Icon implements Serializable {

	private static final long serialVersionUID = 9145892726735846842L;

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 图标代码--相当于图标快捷方式
	 */
	private String iconCode;

	/**
	 * 图标名称
	 */
	private String iconName;

	/**
	 * 图片地址
	 */
	private String imagePath;

	/**
	 * 图标样式
	 */
	private String iconClass;

	/**
	 * 图标类型
	 */
	private String iconType;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@FieldValid(depict = "图标代码", nullable = false, length = 32)
	public String getIconCode() {
		return iconCode;
	}

	public void setIconCode(String iconCode) {
		this.iconCode = iconCode;
	}

	@FieldValid(depict = "图标名称", nullable = false, length = 32)
	public String getIconName() {
		return iconName;
	}

	public void setIconName(String iconName) {
		this.iconName = iconName;
	}

	@FieldValid(depict = "图片地址", length = 256)
	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	@FieldValid(depict = "图标样式", nullable = false, length = 64)
	public String getIconClass() {
		return iconClass;
	}

	public void setIconClass(String iconClass) {
		this.iconClass = iconClass;
	}

	@FieldValid(depict = "图标类型", nullable = false, length = 1)
	public String getIconType() {
		return iconType;
	}

	public void setIconType(String iconType) {
		this.iconType = iconType;
	}

}